package org.madgecko.api.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.madgecko.basic.model.Org;
import org.madgecko.basic.model.User;

import javax.persistence.*;
import java.util.Date;

/**
 * Author       : MadFrog
 * Date         : 2019/6/16 13:43
 * Description  : 打卡成员
 */
@Entity
@Table(name="daka_member")
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
public class Member extends User {
    /**
     * 打卡总得分
     */
    private Integer score;

    private Double longtitude;

    private Double latitude;

    private String phoneIMEI;

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Double getLongtitude() {
        return longtitude;
    }

    public void setLongtitude(Double longtitude) {
        this.longtitude = longtitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    @Column(name = "phone_imei")
    public String getPhoneIMEI() {
        return phoneIMEI;
    }

    public void setPhoneIMEI(String phoneIMEI) {
        this.phoneIMEI = phoneIMEI;
    }

    public Member() {
    }
}
